package com.lmqb.service;

import org.springframework.stereotype.Service;

import com.lmqb.bean.JCheckArtificial;
import com.lmqb.bean.JCollection;
import com.lmqb.bean.LmRepay;
import com.lmqb.bean.SysMenu;
import com.lmqb.bean.SysUser;
import com.lmqb.bean.SysWhiteList;
import com.lmqb.entry.RoleInfo;
import com.lmqb.page.PagerModel;
import com.lmqb.responces.ResultData;
public interface JiaoYanService {

	ResultData<SysUser> adminLogin(String username, String password);

	ResultData<SysUser> selectByUserName(String username);

	ResultData<String> addMenu(SysMenu sysMenu);

	ResultData<String> modifyMenu(SysMenu sysMenu);

	ResultData<String> addRole(RoleInfo roleInfo);

	ResultData<String> modifyRole(RoleInfo roleInfo);

	ResultData<String> addSysUser(SysUser sysUser1, String pwd1);

	ResultData<String> modifySysUser(SysUser sysUser1, String pwd1);

	<T> PagerModel<T> pagerModelFormat(PagerModel<T> pagerModel);

	ResultData<String> editPwd(String pwd, String pwd1, String pwd2, Integer userId);

	ResultData<String> addCheck(JCheckArtificial check);

	Integer selectCuiShou(Integer userId);

	LmRepay selectYuqi(Integer userId);

	ResultData<String> addCuiShou(JCollection cuishou);

	Integer CheckApply(Integer userId);
	
	ResultData<String> addWhiteList(SysWhiteList sysWhiteList);

}
